<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<th:block th:replace="common/head :: head(text='系统信息')"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/admin/main.css}"/>
<body>
<div class="container">
  <th:block th:replace="common/sidebar :: sidebar(flag='sys-info')"/>
  <div class="main-content">
    <div id="information">
      <h2>系统信息</h2>
      <a></a>
      <form th:action="@{/system/addSysInfo}" method="POST" th:object="${sysInfo}">
        <div class="form-group">
          <label for="corp-id">企业号:</label>
          <input type="text" id="corp-id" name="corp-id" th:field="${sysInfo.corpId}" th:value="${sysInfo.corpId}">
        </div>
        <div class="form-group">
          <label for="secret">管理组凭证密钥:</label>
          <input type="text" id="secret" name="secret" th:field="${sysInfo.secret}" th:value="${sysInfo.secret}">
        </div>
        <div class="form-group">
          <label for="agent-id">应用ID:</label>
          <input type="text" id="agent-id" name="agent-id" th:field="${sysInfo.agentId}" th:value="${sysInfo.agentId}">
        </div>
        <div class="button-container">
          <button type="submit">保存</button>
        </div>
      </form>
    </div>
  </div>
</div>
</body>
</html>
